package cc.yugu.yhdw.webserver.persistence.hdw;

import cc.yugu.yhdw.common.domain.hdw.WithdrawCash;
import cc.yugu.yhdw.common.persistence.MasterMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * 提现
 *
 * @Date:Created in 2018/7/2 10:31
 * @Author:
 * @Modified By: zjn 2018/7/2 10:31
 */
public interface WithdrawCashMapper extends MasterMapper {
//    public int findPageCount(@Param("ordType")Integer ordType,@Param("ordIdList")List<Integer> orgIdList);
//
//    public List<WithdrawCash> findPageResult(@Param("ordType")Integer ordType,@Param("ordIdList")List<Integer> orgIdList);

    /**
    * 返回行数
    *
    * @Param: [withdrawCash]
    * @Return: int
    * @Author By: zjn 2018/7/2  10:31
    */
    public int findPageCount(WithdrawCash withdrawCash);
    /**
    * 分页查询，按创建时间降序排列
    *
    * @Param: [withdrawCash]
    * @Return: java.util.List<cc.yugu.yhdw.common.domain.hdw.WithdrawCash>
    * @Author By: zjn 2018/7/2  10:32
    */
    public List<WithdrawCash> findPageResult(WithdrawCash withdrawCash);
    /**
    * 插入
    *
    * @Param: [withdrawCash]
    * @Return: void
    * @Author By: zjn 2018/7/2  10:32
    */
    public void insert(WithdrawCash withdrawCash);
    /**
    * 根据主键更新
    *
    * @Param: [withdrawCash]
    * @Return: void
    * @Author By: zjn 2018/7/2  10:32
    */
    public void update(WithdrawCash withdrawCash);
    /**
    * 根据主键删除
    *
    * @Param: [id]
    * @Return: int
    * @Author By: zjn 2018/7/2  10:32
    */
    public int delete(int id);
    /**
    * 根据主键查找表 hdw_withdraw_cash
    *
    * @Param: [id]
    * @Return: cc.yugu.yhdw.common.domain.hdw.WithdrawCash
    * @Author By: zjn 2018/7/2  10:32
    */
    public WithdrawCash find(int id);

}
